home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / preferences / content.xul < prev    next >
Extensible Markup Language  |  2006-08-23  |  8KB  |  185 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <!DOCTYPE overlay [
  5.   <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  6.   <!ENTITY % contentDTD SYSTEM "chrome://browser/locale/preferences/content.dtd">
  7.   %brandDTD;
  8.   %contentDTD;
  9. ]>
  10.  
  11. <overlay id="ContentPaneOverlay"
  12.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  13.  
  14.   <prefpane id="paneContent" onpaneload="gContentPane.init();">
  15.  
  16.     <preferences id="contentPreferences">
  17.       <!--XXX buttons prefs -->
  18.  
  19.       <!-- POPUPS, IMAGES, JAVASCRIPT -->
  20.       <preference id="dom.disable_open_during_load"   name="dom.disable_open_during_load"   type="bool"/>
  21.       <preference id="permissions.default.image"      name="permissions.default.image"      type="int"/>
  22.       <preference id="javascript.enabled"             name="javascript.enabled"             type="bool"/>
  23.       <preference id="security.enable_java"           name="security.enable_java"           type="bool"/>
  24.  
  25.       <preference id="pref.advanced.images.disable_button.view_image"
  26.                   name="pref.advanced.images.disable_button.view_image"
  27.                   type="bool"/>
  28.       <preference id="pref.advanced.javascript.disable_button.advanced"
  29.                   name="pref.advanced.javascript.disable_button.advanced"
  30.                   type="bool"/>
  31.  
  32.       <!-- FONTS -->
  33.       <preference id="font.language.group"
  34.                   name="font.language.group"
  35.                   type="wstring"
  36.                   onchange="gContentPane._rebuildFonts();"/>
  37.  
  38.       <!-- FILE TYPES -->
  39.  
  40.     </preferences>
  41.     
  42.     <script type="application/x-javascript" src="chrome://mozapps/content/preferences/fontbuilder.js"/>
  43.     <script type="application/x-javascript" src="chrome://browser/content/preferences/content.js"/>
  44.  
  45.     <stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/>
  46.  
  47.     <!-- various checkboxes, font-fu -->
  48.     <groupbox id="miscGroup">
  49.       <grid id="contentGrid">
  50.         <columns>
  51.           <column flex="1"/>
  52.           <column/>
  53.         </columns>
  54.         <rows id="contentRows-1">
  55.           <row id="popupPolicyRow">
  56.             <vbox align="start">
  57.               <checkbox id="popupPolicy" preference="dom.disable_open_during_load"
  58.                         label="&blockPopups.label;" accesskey="&blockPopups.accesskey;"
  59.                         onsyncfrompreference="return gContentPane.updateButtons('popupPolicyButton', 
  60.                                                                             'dom.disable_open_during_load');"/>
  61.             </vbox>
  62.             <button id="popupPolicyButton" label="&popupExceptions.label;"
  63.                     oncommand="gContentPane.showPopupExceptions();"
  64.                     accesskey="&popupExceptions.accesskey;"/>
  65.           </row>
  66.           <row id="enableImagesRow">
  67.             <vbox align="start">
  68.               <checkbox id="loadImages"
  69.                         label="&loadImages.label;"
  70.                         accesskey="&loadImages.accesskey;"
  71.                         preference="permissions.default.image"
  72.                         onsyncfrompreference="return gContentPane.readLoadImages();"
  73.                         onsynctopreference="return gContentPane.writeLoadImages();"/>
  74.             </vbox>
  75.             <vbox>
  76.               <button label="&exceptions.label;"
  77.                       accesskey="&exceptions.accesskey;"
  78.                       oncommand="gContentPane.showImageExceptions();"
  79.                       preference="pref.advanced.images.disable_button.view_image"/>
  80.             </vbox>
  81.           </row>
  82.           <row id="enableJavaScriptRow">
  83.             <vbox align="start">
  84.               <checkbox id="enableJavaScript" preference="javascript.enabled"
  85.                         label="&enableJavaScript.label;" accesskey="&enableJavaScript.accesskey;"
  86.                         onsyncfrompreference="return gContentPane.updateButtons('advancedJSButton', 
  87.                                                                             'javascript.enabled');"/>
  88.             </vbox>
  89.             <vbox>
  90.               <button id="advancedJSButton" label="&advancedJS.label;"
  91.                       accesskey="&advancedJS.accesskey;"
  92.                       oncommand="gContentPane.showAdvancedJS();"
  93.                       preference="pref.advanced.javascript.disable_button.advanced"/>
  94.             </vbox>
  95.           </row>
  96.           <row id="enableJavaRow">
  97.             <vbox align="start">
  98.               <checkbox id="enableJava"
  99.                         label="&enableJava.label;"
  100.                         accesskey="&enableJava.accesskey;"
  101.                         preference="security.enable_java"/>
  102.             </vbox>
  103.           </row>
  104.         </rows>
  105.       </grid>
  106.     </groupbox>
  107.  
  108.     <!-- Fonts and Colors -->
  109.     <groupbox id="fontsGroup">
  110.       <caption label="&fontsAndColors.label;"/>
  111.  
  112.       <grid id="fontsGrid">
  113.         <columns>
  114.           <column flex="1"/>
  115.           <column/>
  116.         </columns>
  117.         <rows id="fontsRows">
  118.           <row id="fontRow">
  119.             <hbox align="center">
  120.               <label control="defaultFont" accesskey="&defaultFont.accesskey;">&defaultFont.label;</label>
  121.               <menulist id="defaultFont" flex="1"/>
  122.               <label control="defaultFontSize" accesskey="&defaultSize.accesskey;">&defaultSize.label;</label>
  123.               <menulist id="defaultFontSize">
  124.                 <menupopup>
  125.                   <menuitem value="9" label="9"/>
  126.                   <menuitem value="10" label="10"/>
  127.                   <menuitem value="11" label="11"/>
  128.                   <menuitem value="12" label="12"/>
  129.                   <menuitem value="13" label="13"/>
  130.                   <menuitem value="14" label="14"/>
  131.                   <menuitem value="15" label="15"/>
  132.                   <menuitem value="16" label="16"/>
  133.                   <menuitem value="17" label="17"/>
  134.                   <menuitem value="18" label="18"/>
  135.                   <menuitem value="20" label="20"/>
  136.                   <menuitem value="22" label="22"/>
  137.                   <menuitem value="24" label="24"/>
  138.                   <menuitem value="26" label="26"/>
  139.                   <menuitem value="28" label="28"/>
  140.                   <menuitem value="30" label="30"/>
  141.                   <menuitem value="32" label="32"/>
  142.                   <menuitem value="34" label="34"/>
  143.                   <menuitem value="36" label="36"/>
  144.                   <menuitem value="40" label="40"/>
  145.                   <menuitem value="44" label="44"/>
  146.                   <menuitem value="48" label="48"/>
  147.                   <menuitem value="56" label="56"/>
  148.                   <menuitem value="64" label="64"/>
  149.                   <menuitem value="72" label="72"/>
  150.                 </menupopup>
  151.               </menulist>
  152.             </hbox>
  153.             <button id="advancedFonts" icon="select-font"
  154.                     label="&advancedFonts.label;"
  155.                     accesskey="&advancedFonts.accesskey;"
  156.                     oncommand="gContentPane.configureFonts();"/>
  157.           </row>
  158.           <row id="colorsRow">
  159.             <hbox/>
  160.             <button id="colors" icon="select-color"
  161.                     label="&colors.label;"
  162.                     accesskey="&colors.accesskey;"
  163.                     oncommand="gContentPane.configureColors();"/>
  164.           </row>
  165.         </rows>
  166.       </grid>
  167.     </groupbox>
  168.  
  169.     <!-- File Types -->
  170.     <groupbox id="fileTypesGroup">
  171.       <caption label="&fileTypes.label;"/>
  172.  
  173.       <hbox id="configureFileTypesRow" align="center">
  174.         <description flex="1">&configureFileTypes.label;</description>
  175.         <button id="manageTypes"
  176.                 label="&manage.label;"
  177.                 accesskey="&manage.accesskey;"
  178.                 oncommand="gContentPane.configureFileTypes();"/>
  179.       </hbox>
  180.     </groupbox>
  181.  
  182.   </prefpane>
  183.  
  184. </overlay>
  185.